//
//  EFUserLocationItem.m
//  EnjogFood
//
//  Created by 王芳 on 17/5/9.
//  Copyright © 2017年 wf. All rights reserved.
//

#import "EFUserLocationItem.h"

@implementation EFUserLocationItem
+ (EFUserLocationItem *)getUserLocation:(BMKPoiInfo *)info
{
    if (info) {
        EFUserLocationItem *location = [[EFUserLocationItem alloc] init];
        location.address = info.name;
        location.userCoordinate = info.pt;
        location.cityName = info.city;
        location.detailAddress = info.address;
        return location;
    }
    return nil;
}
@end
